//
// Created by xinhua on 2021/9/27.
//

#ifndef MRENDER_TRIANGLE_H
#define MRENDER_TRIANGLE_H

#include "../../math/Vector3.h"
#include "../../core/Object3D.h"
#include "../../geometries/AxiesBufferGeometry.h"

class Triangle : public Object3D{
private:
    //三顶点
    Vector3 a, b, c;
public:
    void onInit() override;
public:
    Triangle(const Vector3 &_a, const Vector3 &_b, const Vector3 &_c);
    ~Triangle();
};

#endif //MRENDER_TRIANGLE_H
